﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bowling
{
    public enum Days { Strike = 10, Sun, Mon, Tue, Wed, Thu, Fri };
    
    
    public class Frame
    {
        private int p1;
        private int p2;



        public int FrameNumber { get; set; }
        public Boolean Strike { get; set; }
        public Boolean Spare { get; set; }
        public Boolean Open { get; set; }
        public int Pin_One { get; set; }
        public int Pin_Two { get; set; }
        public int Pin_Extra { get; set; }


        public Frame(int _FrameNumber, Boolean _Strike)
        {
            // TODO: Complete member initialization



            this.Open = false;
            this.Strike = true;
            this.Spare = false;

            this.Pin_One = 10; this.Pin_Two = 0;
            this.FrameNumber = _FrameNumber;           
           

        }


        public Frame(int _FrameNumber, Boolean _Spare, int _one, int _two)
        {

            this.Spare = _Spare;
            this.Pin_One = _one;
            this.Pin_Two = _two;
            this.FrameNumber = _FrameNumber;

            this.Open = false;
            this.Strike = false;
            this.Spare = true;
        
        }

        public Frame(int _FrameNumber, int _one, int _two)
        {
          
            // TODO: Complete member initialization
            this.Pin_One = _one;
            this.Pin_Two = _two;
            this.FrameNumber = _FrameNumber;

            this.Open = true;
            this.Strike = false;
            this.Spare = false;

        }






    
    }
}
